public class test92 {
    
    /*
    public int year;
    public int month;
    public int day;

    public test92(int year,int month,int day){
        this.year=year;
        this.month=month;
        this.day=day;
        System.out.println("setDate(int,int,int)方法被调用了");
    }
    public void printDate(){
        System.out.println(this.year+"/"+month+"/"+day);
    }

    public static void main(String[] args) {
        test92 d=new test92(2002,2,19);
        test92 d1=new test92(2001,11,13);
        d.printDate();
        d1.printDate();
    }
    /*
    public int year;
    public int month;
    public int day;

    public void setDate(int year,int month,int day){
        this.year=year;
        this.month=month;
        this.day=day;
    }
    public void printDate(){
        System.out.println(this.year+"/"+this.month+"/"+this.day);
    }

    public static void main(String[] args) {
        test92 d1=new test92();
        d1.setDate(2022,2,19);
        d1.printDate();
    }
    /*
    public int year;
    public int month;
    public int day;

    public void setDay(int y,int m,int d){
        year=y;
        month=m;
        day=d;
    }
    public void printDate(){
        System.out.println(year+"/"+month+"/"+day);
    }

    public static void main(String[] args) {
        test92 d1=new test92();
        test92 d2=new test92();
        test92 d3=new test92();

        d1.setDay(2020,9,15);
        d2.setDay(2022,1,1);
        d3.setDay(3020,2,5);

        d1.printDate();
        d2.printDate();
        d3.printDate();

    }
/*
    public String name;
    public String color;
    public void barks(){
        System.out.println(name+":"+color+":"+"汪汪汪");
    }
    public void wag(){
        System.out.println(name+":"+"摇尾巴");
    }

    public static void main(String[] args) {
        test92 dogh=new test92();
        dogh.name="马子玥";
        dogh.color="白色";
        dogh.barks();
        dogh.wag();

        test92 dogs=new test92();
        dogs.name="任皓";
        dogs.color="白白胖胖";
        dogs.barks();
        dogs.wag();
    }
    /*
    public String name;
    public String gender;//性别
    public short age;
    public double scare;//学分
    public void DoClass(){
        System.out.println("按时上课，不要迟到，如果请假，及时去补");
    }
    public void DoHomework(){
        System.out.println("教务系统，完成作业，一旦拖沓，神仙难救");
    }
    public void Exam(){
        System.out.println("考试目的，了解血学情，人人必考，暴露问题");
    }
    /*
    public String name;
    public String color;
    public void barks(){
        System.out.println("汪汪汪");
    }
    public void wag(){
        System.out.println("摇尾巴");
    }
    /*
    public String brand;//品牌
    public String type;//型号
    public double weight;//重量
    public double length;//长度
    public double width;//长
    public double width;//宽
    public String color;//颜色

    public void washClothes(){//洗衣服
        System.out.println("洗衣功能");
    }
    public void dryClothes(){//脱水
        System.out.println("脱水功能");
    }
    public void setClothes(){//定时
        System.out.println("定时功能");
    }
    */
}
